package com.crazy.appium.main;


import java.util.ArrayList;
import java.util.List;

import org.testng.TestNG;

import com.crazy.appium.server.StartServers;

/**
 * @author 沙陌  qq2879897713
 *
 */
public class TestMain {
	private static final String ESCAPE_PROPERTY = "org.uncommons.reportng.escape-output";  
	private static String path=System.getProperty("user.dir");
	
	public static void main(String[] args) {
		System.setProperty(ESCAPE_PROPERTY, "false"); 
		StartServers.startServers();
        List<String> suites = new ArrayList<String>();
        suites.add(System.getProperty("user.dir")+"/testng.xml");
        TestNG tng = new TestNG();
        tng.setTestSuites(suites);
        tng.run();
	}
}
